package s2jsp.bysj.dao.impl;
import s2jsp.bysj.entity.*;
import java.util.*;
public class kjh {
	public static void main(String[] ages){
//		ReplyDaoImpl d = new ReplyDaoImpl();
//		List l=d.selectReply(1, 2);
//		for(int i=0;i<l.size();i++){
//			Reply r = (Reply)l.get(i);
//			System.out.println(r.getTitle());
//		}

		NewsDaoImpl newsDao =new NewsDaoImpl();
		int de=newsDao.deletenews("82");
		System.out.println(de);
//		List list =newsDao.findAllNews();
//		for (int i = 0; i < list.size(); i++) {
//			News news=(News)list.get(i);
//			//System.out.print(news.getNewsID());
//			System.out.println(news.getTitle());
//		}
	}
}
